package com.nightsoul.springboottest2.controller;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.nightsoul.springboottest2.util.NightsoulProperties;

@RestController
public class PropertiesController {
	@Resource
	private NightsoulProperties nightsoulProperties;

	@RequestMapping("/properties")
	public NightsoulProperties getProperties() {
		return this.nightsoulProperties;
	}
}
